package upgrades;

import gameObjects.Castle;

public class HealCastle extends Upgrade {
	
	public HealCastle() {
		this.name="Heal castle";
		this.desc = "Recover all hp of your castle.";
		this.price= 80;
		this.toRemove = false;
		this.imagePath="healCastle.png";
	}
	
	@Override
	public void action(Castle castle) {
		castle.setHp(castle.getMaxHp());
	}
}
